package com.example.capsule_netty.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author zhuzhiming
 * @Date 2022/5/15 20:23
 */
@Data
@TableName("function")
@AllArgsConstructor
@NoArgsConstructor
public class FunctionBean {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String roomName;
    private String functionName;
    private boolean isOneToOne;
    @TableField(exist = false)
    private List<FriendApplyBean> applyList;


}
